package com.itheima.stock.service;

import com.itheima.stock.domain.*;
import com.itheima.stock.vo.resp.PageResult;
import com.itheima.stock.vo.resp.R;

import java.util.List;

/**
 * @author gc
 * @version 1.0.0
 * @description 股票业务 Service接口
 * @date 2023-02-26 14:36
 */
public interface StockService {

    /**
     *  股票涨跌幅接口
     * @return
     */
    R<List<StockUpdownDomain>> stockIncreaseLimit();
    /**
     *  查询板块指数数据
     * @return
     */
    R<List<StockBlockRtInfoDomain>> sectorAll();
    /**
     *
     * 获取国内大盘指数（上证指数、深成指数）信息
     * @return
     */
    R<List<InnerMarketDomain>> innerIndexAll();

    /**
     * 今日股票指数分页查询
     * @param page
     * @param pageSize
     * @return
     */
    R<PageResult<StockUpdownDomain>> stockGetLimit(Long page, Long pageSize);

    R<List<Stock4EvrDayDomain>> getDayKLinData(String stockCode);

    R<List<Stock4MinuteDomain>> stockScreenTimeSharing(String stockCode);


}